package com.lagou.homeWork4.hw2;
/*
* 创建目录
* */
import java.io.File;

public class CreateFolders {

    public static void createFolders(String path){
        File fl = new File(path);
        if (!fl.exists()){
            fl.mkdirs();
            System.out.println("成功创建目录："+path);
        }
    }
}
